package com.cloud.api.hystrix;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author: weng
 * @Date: 2022/3/11
 * @Description: com.cloud.api.hystrix
 */

public interface HystrixService {

    @PostMapping("/testDependency/{arg}")
    NbaPlayer testDependency(@PathVariable String arg);

    @GetMapping("/testHystrixFeign")
    String testHystrixFeign();
}
